<?php
Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl."/css/site_catalogo.css");
$this->pageTitle=Yii::app()->name . ' - '.Yii::t('app', 'mainMenu.catalog');
$this->breadcrumbs=array(
    Yii::t('app', 'mainMenu.catalog'),
); ?>
<h3><?php echo Yii::t('app', 'mainMenu.catalog') ?></h3>


<div id="categorias" class="span-22">
    <?php foreach ($categorias as $categoria){ ?>
        <div class="span-10 categoria">
            <?php $desc_categoria = "desc_categoria_".Yii::app()->language; ?>
            <h2 class="titulo"><a href="/<?php echo $categoria->slug ?>"> <?php echo $categoria->{$desc_categoria} ?></a></h2>
            <hr>
            <img src="/images/<?php echo $categoria->imagen ?>" />
        </div>
    <?php } ?>
</div>